package com.utils;

import org.springframework.util.DigestUtils;

public class MD5Util {
    public static String MD5(String str) {
        String md5 = DigestUtils.md5DigestAsHex(str.getBytes());
        return md5;
    }
}
